package com.study.ssm.resource;

import com.study.ssm.UnitTestBase;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;

import java.io.IOException;

/**
 * <pre>
 *     project name: SpringStudy
 *     author      : 李琼
 *     e-mail      : 1265137718@qq.com
 *     create time : 2017/9/16 上午1:18
 *     desc        : 描述--//TestResource TODO
 *     URL         : CSDN:http://blog.csdn.net/qq_22945151
 *                   GitHub:https://github.com/a1265137718
 *     Reference   ://
 *     modifier               :
 *     modification time      :
 *     modify remarks         :
 *
 *     @version: --//TODO
 * </pre>
 */

@RunWith(BlockJUnit4ClassRunner.class)
public class ResourceTest extends UnitTestBase{
    public ResourceTest(){
        super("classpath:resources/spring-resource.xml");
    }

    @Test
    public void testMyResource() throws IOException {
        MyResource myResource = super.getBean("myResource");
        myResource.getResources();
    }

}
